package com.ssy.lingxi.settle.accounts.repository;

import com.ssy.lingxi.settle.accounts.entity.SettlementOrderDO;
import com.ssy.lingxi.settle.accounts.entity.SettlementProductDO;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 结算待对账单列表，商品信息Jpa仓库
 * @author Saske
 * @date 2021/12/15
 * @version 2.0.0
 */
@Repository
public interface SettlementProductRepository extends JpaRepository<SettlementProductDO,Long> , JpaSpecificationExecutor<SettlementProductDO> , QuerydslPredicateExecutor<SettlementProductDO> {

//    List<SettlementProductDO> findByOrder(SettlementOrderDO orderDO , Sort sort);
}
